﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace Demo9_1_1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            int a = 10;

            int b = 11;

            int c = 12;

            Person person = new Person();
            var name=  person.address;
            Console.ReadLine();

        }
        public class Person {
            public string  name { get; set; }
            public Address address { get; set; }

            public Address address2 { get; set; } = new Address() { name = "大湖南啦" };

            public void Show() 
            {
                Console.WriteLine("我显示了");
            }
        }
        public class Address
        {
            public string name { get; set; } = "湖南";
            
        }
    }
}
